package com.jsbs.iam.user.constant;

/**
 * 通用常量信息
 * 
 * @author junwc
 */
public class RedisConstants
{

    /**
     * 新增用户加锁key
     */
    public static final String USER_INFO_CODE = "USER_INFO_CODE";

    public static final String USER_INFO_CODE_LOCK = "USER_INFO_CODE_LOCK";

    /**
     * 后台菜单key
     */
    public static final String IAM_SYSTEM_MENU = "IAM_SYSTEM_MENU";

    /**
     * 组织类型下的组织架构key
     */
    public static final String IAM_ORG_INFO_LIST = "_IAM_ORG_INFO_LIST";

    public static final String IAM_ORG_POST = "_POST";

    /**
     * 新增组织层级生成编码加锁key
     */
    public static final String IAM_ORG_CODE_ADD_KEY = "IAM_ORG_CODE_ADD_KEY";

    /**
     * 管理员角色生成角色编码加锁key
     */
    public static final String ADMIN_ROLE_CODE_LOCK = "ADMIN_ROLE_CODE_LOCK";

    /**
     * 管理员角色角色编码自增序列key
     */
    public static final String ADMIN_ROLE_CODE = "ADMIN_ROLE_CODE";

    /**
     * 所有应用菜单Key
     */
    public static final String APPLY_MENU = "_APPLY_MENU";
    /**
     * 应用菜单是否包含按钮
     */
    public static final String APPLY_MENU_BUTTON = "_BUTTON";
    /**
     * 新增菜单生成编码加锁key
     */
    public static final String MENU_CODE_ADD_KEY = "MENU_CODE_ADD_KEY";
    /**
     * 所有组织树数据key
     */
    public static final String IAM_ORG_THREE_ALL = "IAM_ORG_THREE_ALL";
    /**
     * 新增组织类型编码加锁key
     */
    public static final String ORG_TYPE_CODE_LOCK = "ORG_TYPE_CODE_LOCK";
    /**
     * 新增用户类型编码加锁key
     */
    public static final String USER_TYPE_CODE_LOCK = "USER_TYPE_CODE_LOCK";
    /**
     * 新增用户编码(工号 iam000001)加锁key
     */
    public static final String USER_EMPLOYEE_CODE_LOCK = "USER_EMPLOYEE_CODE_LOCK";

    /**
     * 用户主数据缓存key前缀
     */
    public static final String IAM_USER_INFO = "IAM_USER_INFO_";
    /**
     * 新增应用类型编码加锁key
     */
    public static final String APPLY_TYPE_CODE_LOCK = "APPLY_TYPE_CODE_LOCK";
    /**
     * 新增应用编码加锁key
     */
    public static final String APPLY_CODE_LOCK = "APPLY_CODE_LOCK";
    /**
     * 新增按钮编码加锁key
     */
    public static final String BUTTON_CODE_LOCK = "BUTTON_CODE_LOCK";

}
